package com.group4;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


/**
 * @Description:
 * @Author:l
 * @Date:2022.03.10
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.group4.banner.mapper"})
@EnableDiscoveryClient
public class ServiceBannerApplication {
    public static void main(String[] args) {

        SpringApplication.run(ServiceBannerApplication.class, args);
    }

//    //    配置nacos
//    @LoadBalanced
//    @Bean
//    public RestTemplate restTemplate() {
//        return new RestTemplate();
//
//    }
}